/**
 */
package com.dingpeikeji.quickdeer.core.modules.office.entity;

import com.dingpeikeji.quickdeer.core.common.persistence.DataEntity;
import com.dingpeikeji.quickdeer.core.modules.sys.entity.Office;

/**
 * 公司机构Entity
 * @author Zhaoy
 * @version 2016-05-19
 */
public class SysOffice extends DataEntity<SysOffice> {
	
	private static final long serialVersionUID = 1L;
	private final String flatType = Office.FLAT_TYPE_ENTERPRISE;
	private String name;		// name
	private Double monthcredit; // 月使用额度
	private Double totalcredit; // 年使用额度
	private Double creditInMonth; // 实际月使用额度统计值
	private Double creditInYear; // 实际年使用额度统计值
	
	public SysOffice() {
		super();
	}

	public SysOffice(String id){
		super(id);
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getMonthcredit() {
		return monthcredit;
	}

	public void setMonthcredit(Double monthcredit) {
		this.monthcredit = monthcredit;
	}

	public Double getTotalcredit() {
		return totalcredit;
	}

	public void setTotalcredit(Double totalcredit) {
		this.totalcredit = totalcredit;
	}

	public Double getCreditInMonth() {
		return creditInMonth;
	}

	public void setCreditInMonth(Double creditInMonth) {
		this.creditInMonth = creditInMonth;
	}

	public Double getCreditInYear() {
		return creditInYear;
	}

	public void setCreditInYear(Double creditInYear) {
		this.creditInYear = creditInYear;
	}

	public String getFlatType() {
		return flatType;
	}

}
